package org.example.main.entity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

@Schema(name = "RentalApplication",description = "租赁申请实体")
public class RentalApplication {

  @Schema(name = "applicationId",description = "申请id")
  private long applicationId;

  @Schema(name = "houseId",description = "房源id")
  private long houseId;

  @Schema(name = "tenantId",description = "租客id")
  private long tenantId;

  @Schema(name = "applicationTime",description = "申请时间")
  private Date applicationTime;

  @Schema(name = "status",description = "申请状态")
  private String status;

  @Schema(name = "type",description = "申请类型")
  private String type;

  public long getApplicationId() { return applicationId; }
  public void setApplicationId(long applicationId) { this.applicationId = applicationId; }

  public long getHouseId() { return houseId; }
  public void setHouseId(long houseId) { this.houseId = houseId; }

  public long getTenantId() { return tenantId; }
  public void setTenantId(long tenantId) { this.tenantId = tenantId; }

  public Date getApplicationTime() { return applicationTime; }
  public void setApplicationTime(Date applicationTime) { this.applicationTime = applicationTime; }

  public String getStatus() { return status; }
  public void setStatus(String status) { this.status = status; }

  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }
}
